package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class FirstController {
    @RequestMapping("/firstController")
    public String firstController() {
        System.out.println("访问firstController");
        return "success"; //实际访问的是/WEB-INF/succes.jsp
    }
}
